package com.mzy.datepackage.M2022.May.five;

import lombok.extern.slf4j.Slf4j;

import java.util.concurrent.ThreadLocalRandom;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/5/5 9:31
 * @Version 1.0
 */
@Slf4j
public class Five {
    public static void main(String[] args) {
        randomSuffix();
    }

    private static int randomSuffix() {
        int suffix = ThreadLocalRandom.current().nextInt(100000, 999999);
        log.info("===== randomSuffix is {} ====", suffix);
        return suffix;
    }
}
